package com.bupt.cosmfl.cosmflweb.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("nm_node")
public class NodeEntity {

    @TableId(value = "nm_node_id",type = IdType.AUTO)//指定自增策略
    private Integer nodeId;

    @TableField(value = "um_user_id")
    private String userId;

    @TableField(value = "nm_group_id")
    private String groupId;

    @TableField(value = "ip")
    private String ip;

    @TableField(value = "port")
    private String port;

    @TableField(value = "name")
    private String nodeName;

    @TableField(value = "status")
    private String status;
}
